package com.mysafe.provision.exception;

import java.util.List;

public class ValidationException extends Exception {
	
	private static final long serialVersionUID = 3239556691773881444L;
	
	private List<ValidationError> errors;

	public ValidationException(List<ValidationError> errors) {
		this.errors = errors;
	}
	
	/**
	 * @return the errors
	 */
	public List<ValidationError> getErrors() {
		return errors;
	}

	/**
	 * @param errors the errors to set
	 */
	public void setErrors(List<ValidationError> errors) {
		this.errors = errors;
	} 

}
